package scuts.core.instances;

import scuts.core.classes.Ord;

class OrdFloat extends Ord<Float> {
  
  // boilerplate, should be avoided
  public static var get(getInstance, null):OrdFloat;
  
  static function getInstance ()
  {
    if (get == null) get = new OrdFloat(EqFloat.get);
    return get;
  }
  //
  
  override public function lessOrEq (a:Float, b:Float):Bool {
    return a < b;
  }
}